package com.huijinhui.wlmtsys.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.huijinhui.wlmtsys.pojo.dtos.LeaveApplicationDTO;
import com.huijinhui.wlmtsys.pojo.entity.LeaveApplication;
import com.huijinhui.wlmtsys.pojo.vo.LeaveApplicationVO;

import java.util.List;

public interface LeaveApplicationService extends IService<LeaveApplication> {

    LeaveApplicationVO createLeaveApplication(LeaveApplicationDTO leaveApplicationDTO);

    List<LeaveApplicationVO> getUserLeaveApplications(Long userId);
}